New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@palett/projector-config

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@palett/projector-config

A debug tool


Version published
Weekly downloads
14
decreased by-76.27%
Maintainers
1
Weekly downloads
 
Created

says

A light and simple debug tool.

Downloads Version License

Highlights

  • A debug tool.

Install

$ npm install says

Usage

Simple

import { Says } from '@palett/projector-config'
import { greys, palette } from 'spettro'

const castList = {
  client: palette.Red.base,
  server: palette.Purple.base,
  stranger: greys.Grey.base
}

const debug = Says.build(castList)

debug.says('client', '\'Shakespeare\'')
debug.says('server', '\'Dickens\'')

Factorial with pipeline operator

import { Says } from '@palett/projector-config'
import { greys, palette } from 'spettro'

const castList = {
  client: palette.Red.base,
  server: palette.Purple.base,
  stranger: greys.Grey.base
}

const debug = Says.build(castList)
const says = {
  client: debug.credit('chef'),
  server: debug.credit('aboyeur')
}
'Shakespeare' |> says.client
'Dickens' |> says.server

License

MIT

Copyright (c) 2019-present, Haoyang (Vincent) Wang

Keywords

FAQs

Package last updated on 28 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts